package com.yugao.fintech.libra.shortlink.model.rqrs;

import com.yugao.fintech.libra.common.constants.ValidationCons;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * 短链
 */
@ApiModel(value = "短链")
@Getter
@Setter
public class ShortLinkSaveReq extends BaseShortLink {
    @NotEmpty(message = ValidationCons.NOT_EMPTY)
    private String originalUrl;
}
